home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 1995 July & August
/
cd No4 joystick No62.iso
/
pc
/
cadeaux
/
updates
/
daed12
/
patch.bat
< prev
next >
Wrap
DOS Batch File
|
1995-06-08
|
1KB
|
70 lines
@echo off
if not exist daedalus.ex_ goto errInstalled
if not exist daedalus.exe goto errWrongDir
if not exist images\startup\daedclip.bmp goto errSetupMax
if not exist images\startup\puzhlp.bmp goto errSetupMax
if not exist sounds\startup.wav goto errSetupMax
echo Installing Daedalus Patch files ...
del daedalus.exe
ren daedalus.ex_ daedalus.exe
del mmengine.dll
ren mmengine.dl_ mmengine.dll
del mmsound.dll
ren mmsound.dl_ mmsound.dll
attrib -r -h *.nod
del *.nod
ren *.no_ *.nod
attrib -r -h images\startup\daedclip.bmp
attrib -r -h images\startup\puzhlp.bmp
attrib -r -h sounds\startup.wav
copy daedclip.bm_ images\startup\daedclip.bmp > nul
copy puzhlp.bm_ images\startup\puzhlp.bmp > nul
copy startup.wa_ sounds\startup.wav > nul
attrib +r +h images\startup\daedclip.bmp
attrib +r +h images\startup\puzhlp.bmp
attrib +r +h sounds\startup.wav
del puzhlp.bm_
del daedclip.bm_
del startup.wa_
attrib -r -h *.txt
del *.txt
attrib -r -h *.mmt
del *.mmt
ren *.mm_ *.mmt
echo.
echo ...finished.
echo.
goto end
:errInstalled
echo.
echo This patch has already been installed.
echo.
goto end
:errWrongDir
echo.
echo This patch must be run from the Daedalus directory.
echo.
goto end
:errSetupMax
echo.
echo You need to run setupMax before installing this patch.
echo
goto end
:end